/* Copyright (c) 2011 Timothée Lacroix
 * This file is part of HINAPT.
 *
 * HINAPT is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * HINAPT is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with HINAPT.  If not, see <http://www.gnu.org/licenses/>.
 */

/*!
  \file train.hpp
  fonction d'entrainement
 */

#ifndef TRAIN_HPP_INCLUDED
#define TRAIN_HPP_INCLUDED

#include "_trainer.hpp"
#include "classifier.hpp"
#include "detector.hpp"
#include "filesystem.hpp"

/*!
  \param f taux de faux positifs maximum par niveau de cascade
  \param d taux de détection minimum par niveau de cascade
  \param ftarget taux de faux positifs visé
  \param file fichier d'enregistrement de la cascade créée
*/

void train(double f,double d,double ftarget,string file);

#endif // TRAIN_HPP_INCLUDED
